package com.jk.smartelderlycare.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jk.smartelderlycare.dto.SysDynamics;
import org.apache.ibatis.annotations.Update;

public interface SysDynamicsMapper extends BaseMapper<SysDynamics> {
    /**
     * @description: 状态修改
     * @param: [sysDynamics]
     * @return: void
     * @author hhk
     * @date: 2024/11/19 20:33
     */
    @Update("update sys_dynamics set status=#{status} where dynamics_id=#{dynamicsId}")
    void updateStatusById(SysDynamics sysDynamics);
}